package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.PatientCard;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.usercard.PatientCardAddReqDTO;
import com.yixin.hospital.entity.vo.PatientCardVo;

import javax.validation.Valid;
import java.util.List;

/**
* @author Administrator
* @description 针对表【patient_card(患者卡表)】的数据库操作Service
* @createDate 2024-10-09 16:54:22
*/
public interface PatientCardService extends IService<PatientCard> {

    ApiResult<List<PatientCardVo>> allList(Long patientId);

    ApiResult<List<PatientCardVo>> allStoredCardList();

    ApiResult add(@Valid PatientCardAddReqDTO userCardAddReqDto, String userName);
}
